import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/menu/list',
    method: 'get',
    params
  })
}

export function store(params) {
  return request({
    url: '/menu/store',
    method: 'post',
    params
  })
}

export function del(id, params) {
  return request({
    url: '/menu/delete/' + id,
    method: 'post',
    params
  })
}
